package com.hacker.o2o.dao;

import com.hacker.o2o.entity.ShopCategory;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @Author:这个程序员有纹身
 * @Date: Created in 21:42 2018\1\6 0006
 */
public interface ShopCategoryDao {

    /**
     * 查找店铺分类列表
     * @param shopCategoryCondition
     * @return
     */
    List<ShopCategory> queryShopCategory(@Param("shopCategoryCondition")ShopCategory shopCategoryCondition);

    /**
     * 查找店铺分类列表——一级列表
     * @param shopCategoryCondition
     * @return
     */
    List<ShopCategory> queryShopCategoryParent(@Param("shopCategoryCondition")ShopCategory shopCategoryCondition);
}
